package com.jwaoo.mobile.common.listener;

import android.content.Context;

import com.dx.as.common.log.ILogInterface;
import com.jwaoo.mobile.db.DBHelper;

/**
 * Created by jwaoo on 2017/8/16.
 */

public class LogListener implements ILogInterface{

    private Context context;
    public LogListener(Context context) {
        this.context = context;
    }

    @Override
    public void writeLogDetail(String tag ,String info) {
        DBHelper.saveLogInfo(context,tag,info);
    }
}
